package com.aaa.order.service.impl;/**
 * Date:2023/3/7
 * Author：臣哥哥
 * Description:
 */

import com.aaa.entity.AccountOrder;
import com.aaa.order.dao.AccountOrderDao;
import com.aaa.order.service.AccountOrderService;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author     ：Xiaochen
 * @date       ：Created in 2023/3/7 17:48
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class AccountOrderServiceImpl implements AccountOrderService {
    @Autowired
    private AccountOrderDao accountOrderDao;
    @Override
    public Result update(AccountOrder accountOrder) {
        int i = accountOrderDao.updateById(accountOrder);
        return new Result(2000,"成功",i);
    }
}